package com.lf.api.po.domain;

import java.util.Date;

public class Answer {
    private Long id;

    private Long userId;

    private Long questionId;

    private String answerContent;

    private Short rightAnswer;

    private Integer greateNum;

    private Date createTime;

    private Short state;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getQuestionId() {
        return questionId;
    }

    public void setQuestionId(Long questionId) {
        this.questionId = questionId;
    }

    public String getAnswerContent() {
        return answerContent;
    }

    public void setAnswerContent(String answerContent) {
        this.answerContent = answerContent == null ? null : answerContent.trim();
    }

    public Short getRightAnswer() {
        return rightAnswer;
    }

    public void setRightAnswer(Short rightAnswer) {
        this.rightAnswer = rightAnswer;
    }

    public Integer getGreateNum() {
        return greateNum;
    }

    public void setGreateNum(Integer greateNum) {
        this.greateNum = greateNum;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Short getState() {
        return state;
    }

    public void setState(Short state) {
        this.state = state;
    }
}